package com.ktwlrj.core.feign.args;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 新闻资讯信息模型
 * @author TY
 *
 */
@Data
public class SysInformationModel {
	@ApiModelProperty(value = "主键id", name = "informationId", dataType = "Integer")
	private String informationId;

	/**
	 * 发布日期
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "发布日期", name = "createTime", dataType = "Date")
	private Date createTime;

	/**
	 * 更新日期
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
	@ApiModelProperty(value = "更新日期", name = "updateDate", dataType = "Date")
	private Date updateDate;

	/**
	 * 标题图片
	 */
	@ApiModelProperty(value = "标题图片")
	private String titleImg;

	/**
	 * 标题缩略图(用于图片新闻列表处的图片)
	 */
	@ApiModelProperty(value = "标题缩略图(用于图片新闻列表处的图片)", name = "titleImgThumb", dataType = "String")
	private String titleImgThumb;

	/**
	 * 访问量
	 */
	@ApiModelProperty(value = "访问量", name = "viewNum", dataType = "String")
	private Integer viewNum = 0;

	/**
	 * 评论量
	 */
	@ApiModelProperty(value = "评论量", name = "commnetNum", dataType = "String")
	private Integer commnetNum = 0;

	/**
	 * 关键词标签
	 */
	@ApiModelProperty(value = "关键词标签", name = "tags", dataType = "String")
	private String tags;

	/**
	 * 关键词
	 */
	@ApiModelProperty(value = "关键词", name = "keywords", dataType = "String")
	private String keywords;

	/**
	 * 信息标题
	 */
	@ApiModelProperty(value = "信息标题", name = "title", dataType = "String")
	private String title;

	/**
	 * 信息副标题
	 */
	@ApiModelProperty(value = "信息副标题", name = "subheading", dataType = "String")
	private String subheading;

	/**
	 * 信息短标题
	 */
	@ApiModelProperty(value = "信息短标题", name = "shortTitle", dataType = "String")
	private String shortTitle;

	/**
	 * 作者
	 */
	@ApiModelProperty(value = "作者", name = "author", dataType = "String")
	private String author;

	/**
	 * 来源
	 */
	@ApiModelProperty(value = "来源", name = "source", dataType = "String")
	private String source;

	/**
	 * 默认是否允许评论
	 */
	@ApiModelProperty(value = "默认是否允许评论", name = "isComment", dataType = "boolean")
	private boolean isComment;

	/**
	 * 默认是否允许投票
	 */
	@ApiModelProperty(value = "默认是否允许投票", name = "isVote", dataType = "Boolean")
	private boolean isVote;

	/**
	 * 排序码（越小越靠前）
	 */
	@ApiModelProperty(value = "排序码（越小越靠前）", name = "sortId", dataType = "Integer")
	private Integer sortId;

	/**
	 * 是否置顶
	 */
	@ApiModelProperty(value = "是否置顶", name = "isSticky", dataType = "Boolean")
	private boolean isSticky;

	/**
	 * 热门标识
	 */
	@ApiModelProperty(value = "热门标识", name = "isHot", dataType = "Boolean")
	private boolean isHot;

	/**
	 * 推荐标识
	 */
	@ApiModelProperty(value = "推荐标识", name = "isRrecommend", dataType = "Boolean")
	private boolean isRecommend;

	/**
	 * 扩展字段
	 */
	@ApiModelProperty(value = "扩展字段", name = "extension", dataType = "String")
	private String extension;

	/**
	 * 摘要
	 */
	@ApiModelProperty(value = "摘要", name = "summary", dataType = "String")
	private String summary;

	/**
	 * 信息内容
	 */
	@ApiModelProperty(value = "信息内容", name = "content", dataType = "String")
	private String content;

	/**
	 * 移动版信息内容
	 */
	@ApiModelProperty(value = "移动版信息内容", name = "mobileContent", dataType = "String")
	private String mobileContent;
}
